From 95c7de70c70951ee5d1def390e51b0569c08c970 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 17 Oct 2016 15:27:15 -0400 Subject: [PATCH] x11: Add the same message as the wayland backend has This seems prudent, if we make noise about missing cursors on Wayland, we should do the same on X11. --- gdk/x11/gdkcursor-x11.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index 7f1487328e..1895ba9e58 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -704,7 +704,10 @@ _gdk_x11_display_get_cursor_for_name (GdkDisplay *display, } } if (xcursor == None) - return NULL; + { + g_message ("Unable to load %s from the cursor theme", name); + return NULL; + } } private = g_object_new (GDK_TYPE_X11_CURSOR, -- 2.30.2